package com.spdb.oa.type;

/**
 *  if DisplayName exists, use DisplayName, otherwise use name。
 *	Visible="True"，display otherwise do not display
 *  Enabled="True"，is editable otherwise not editable

 * @author lij70
 *
 */
public class ToolbarItem {
	public String id;
	public String name;
	public String displayName;
	public boolean visible;
	public boolean enabled;
	@Override
	public String toString() {
		return "ToolbarItem [id=" + id + ", name=" + name + ", displayName=" + displayName + ", visible=" + visible
				+ ", enabled=" + enabled + ", feedbackFucntionName=" + feedbackFucntionName + ", feedbackParameter="
				+ feedbackParameter + "]";
	}
	public String feedbackFucntionName;
	public String feedbackParameter;
	public ToolbarItem(String id, String name, String displayName, boolean visible, boolean enabled,
			String feedbackFucntionName, String feedbackParameter) {
		super();
		this.id = id;
		this.name = name;
		this.displayName = displayName;
		this.visible = visible;
		this.enabled = enabled;
		this.feedbackFucntionName = feedbackFucntionName;
		this.feedbackParameter = feedbackParameter;
	}
	
	
}
